$(document).ready(function(){
	
	if(!isWeiXin()){
		window.location.replace("https://itunes.apple.com/us/app/gao-tang-guan-jia/id1050966134?l=zh&ls=1&mt=8");
	}
	//window.location.replace("https://itunes.apple.com/us/app/gao-tang-guan-jia/id1050966134?l=zh&ls=1&mt=8");
});

function isWeiXin(){
	var ua = window.navigator.userAgent.toLowerCase();
	if(ua.match(/MicroMessenger/i) == 'micromessenger'){
		return true;
	}else{
		return false;
	}
}